#pragma once

#include <vector>

namespace SNU
{
	class CScriptLine
	{
	public:
		CScriptLine();
		CScriptLine(const CString& strPath, int nBillType, int nBillDirection);
		~CScriptLine();

		int GetBillType() const {return m_nBillType;}
		int GetBillDirection() const {return m_nBillDirection;}
		CString GetPath() const {return m_strPath;}
	private:
		int m_nBillType;
		int m_nBillDirection;
		CString m_strPath;
	};

	class CScriptParser
	{
	public:
		static bool ParseScript(const CString& strPath, CString& strRootPath, std::vector<CScriptLine>& vecScriptlines);
		static int ParseBillType(const CString& strBillType);
		static int ParseBillDirection(const CString& strBillDirection);
	
	};
};
